package com.snowdragon.system.domain.sysuser.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class SysUserSaveDTO {
    @Schema(description = "用户账号")
    @NotNull(message = "账号不能为null")
    @NotEmpty(message = "账号不能为空")
    private String userAccount;

    @Schema(description = "用户密码")
    @NotNull(message = "密码不能为null")
    @NotEmpty(message = "密码不能为空")
    private String password;
}
